<?php
namespace Common\Model;

use Think\Model\RelationModel;

class MessContentModel extends RelationModel
{
    protected $_link = array(
        'template'=>array(
            'mapping_type'  => self::BELONGS_TO,
            'class_name'    => 'Template',
        )
    );
}